package com.itheima.reggie.mappers;

import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeMapper {
    Employee findByUsername(String username);

    List<Employee> findList(String name);

    void add(Employee emp);

    Employee findById(Long id);

    void update(Employee emp);
}
